import {Component} from "react"

export const withCopyRight = (SouceCom)=>{

    class NewCom extends Component{
        render(){
            return (
                <>
                    <SouceCom></SouceCom>
                    <hr/>
                    <div>Copyright © 2020 Sohu All Rights Reserved. 搜狐公司 版权所有</div>
                </>
            )
        }
    }
    return NewCom
}

export default class hoc extends Component {
  render() {
    return (
      <div>
         <hr/>
        <div>Copyright © 2020 Sohu All Rights Reserved. 搜狐公司 版权所有</div>
      </div>
    )
  }
}